Search results
155 packages found
JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.
Checks if a number is prime or not
A package to compute and check for prime numbers within a specified range.
Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.
extra Integers and Numbers methods
- super
- integer
- superInteger
- number
- supernumber
- prime
- primenumber
- positive
- positivenumber
- positiveinteger
- negative
- negativenumber
- negativeinteger
- nearest
- View more
A function that deterministically checks if a number is prime.
Fastest Prime Number Calculation logic for nodejs and browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)
- Fastest
- Prime
- Number
- Calculation
- fast primes
- fast prime
- fast
- primes
- numbers
- prime numbers
- prime
- get prime
- get primes
- fetch prime
- View more
Generate a random prime number
Check prime number using only RegExp!
Finds any prime numbers up to given limit. Based on linear Sieve of Eratosthenes algo.
An implementation of the Miller-Rabin primality test to efficiently determine with high probability whether some arbitrarily-large number is prime.
Fastest Prime Number Calculation logic for browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)
- Fastest
- Prime
- Number
- Calculation
- fast primes
- fast prime
- fast
- primes
- numbers
- prime numbers
- prime
- get prime
- get primes
- fetch prime
- View more
Test if a number is prime in constant time, using a cached Sieve of Eratosthenes.
A simple function that returns the nth prime number
Streaming number generator for e, pi, and primes
Returns boolean of if provided number is prime.
Functional library for precise access to integer sequences such as prime numbers, square numbers, triangle numbers, etc
Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
Simple prime number and prime factorization package